# -*- python -*-
# ex: set syntax=python:
###'LM_LICENSE_FILE' : '8000@licserverhpc.cineca.it',

from worker import Steps

Environ={
'MV2_SMP_USE_CMA' : '0',
'CC' : 'pgcc',
'CXX' : 'nvc++',
'F77' : 'nvfortran',
'F90' : 'nvfortran',
'FC' : 'nvfortran',
'OMPI_FC' : 'nvfortran',
'MKLROOT' : '/home/buildbot/local/intel20/compilers_and_libraries_2020.4.304/linux/mkl', 
'LIBRARY_PATH' : '/opt/nvidia/hpc_sdk/Linux_x86_64/20.9/compilers/lib:/home/buildbot/local/intel20/compilers_and_libraries_2020.4.304/linux/mkl/lib/intel64_lin',
'LD_LIBRARY_PATH' : '/opt/nvidia/hpc_sdk/Linux_x86_64/20.9/compilers/lib:/home/buildbot/local/intel20/compilers_and_libraries_2020.4.304/linux/mkl/lib/intel64_lin',
'PATH' : '/opt/nvidia/hpc_sdk/Linux_x86_64/20.9/compilers/bin:/opt/nvidia/hpc_sdk/Linux_x86_64/20.9/comm_libs/openmpi/openmpi-3.1.5/bin:/home/buildbot/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
}




Step = Steps(Environ)


f=BuildFactory(Step.clean+Step.checkout_qe+Step.configure_qe+Step.make_pw+\
               Step.make_ph+Step.make_epw0+Step.make_epw+Step.test_clean+Step.test0+\
               Step.test_para_PW+Step.test_para_CP+Step.test_para_PH+Step.test_para_HP)
# Modified: Step.test_para_EPW remover due to compilation bug

f_WAN=BuildFactory(Step.checkout_wannier+Step.cppgi18+Step.clean_wannier+Step.make_wannier+\
                   Step.make_wannier2+Step.clean_tests+Step.test_wannier_serial+Step.clean_tests+Step.test_wannier_para)
